<!DOCTYPE html>
<html>
<head>
    <title>Upload Background Image</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #fff0f5;
        }
        .upload-container {
            background-color: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
            text-align: center;
        }
        h1 {
            color: #ff1493;
            margin-bottom: 20px;
        }
        .upload-btn {
            background: linear-gradient(135deg, #ff69b4, #ff1493);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            margin-top: 20px;
        }
        .upload-btn:hover {
            background: linear-gradient(135deg, #ff1493, #ff69b4);
        }
        .note {
            margin-top: 20px;
            color: #666;
            font-size: 0.9em;
        }
    </style>
</head>
<body>
    <div class="upload-container">
        <h1>上传背景图片</h1>
        <form action="/upload" method="post" enctype="multipart/form-data">
            <input type="file" name="file" accept="image/*" required>
            <br>
            <button type="submit" class="upload-btn">上传图片</button>
        </form>
        <p class="note">请上传名为 561749740185_.pic_hd.jpg 的图片</p>
        <p class="note">上传后，请将图片保存到 src/main/resources/static/images/ 目录下</p>
    </div>
</body>
</html> 